package com.thz.system.pojo.course;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.thz.common.core.pojo.BaseEntity;
import lombok.*;

/**
 * @Description
 * @Author thz
 * @Date 2025/5/8
 */

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_course")
public class Course extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "COURSE_ID", type = IdType.ASSIGN_ID)
    /**
     * 课程ID
     */
    private Long courseId;
    /**
     * 课程名称
     */
    private String courseName;
    /**
     * 课程难度
     */
    private Integer difficulty;
    /**
     * 课程描述
     */
    private String courseIntroduce;
    /**
     * 教师描述
     */
    private String teacherIntroduce;

}
